onSuggestionSelect

abstract fun onSuggestionSelect(position: Int): Boolean(source)

Called when a suggestion was selected by navigating to it.

Return

true if the listener handles the event and wants to override the default behavior of possibly rewriting the query based on the selected item, false otherwise.

Parameters

position

the absolute position in the list of suggestions.